<!-- content start -->
<div class="admin-content">
	<div class="am-cf am-padding">
		<div class="am-fl am-cf">
			<strong class="am-text-primary am-text-lg">个人资料</strong> / <small>Personal information</small>
		</div>
	</div>

	<hr />

	<div class="am-g">

		<form class="am-form am-form-horizontal">

			<div class="am-form-group am-u-md-4 am-u-md-push-8">
				<div class="am-u-sm-12 am-u-md-10">
					<!-- 空白图片可以使用过滤器解决  -->
					<img class="am-img-circle am-img-thumbnail" data-am-modal="{target: '#my-actions'}" data-ng-src="{{ admin.image? baseUrl+admin.image+formatImage:'sad.png' }}" alt="" data-ng-click="pass(admin.image)" /> 
					<input placeholder="" class="form-control" type="file" ng-file-select="onFileSelect($files)" />
				</div>
			</div>

			<div class="am-u-sm-12 am-u-md-8 am-u-md-pull-4">
				<!-- 姓名 -->
				<div class="am-form-group">
					<label for="admin-name" class="am-u-sm-3 am-form-label">姓名 / Name</label>
					<div class="am-u-sm-9">
						<input class="form-control" type="text" id="admin-name" placeholder="姓名 / Name" ng-model="admin.name"> <small ng-model="admin.name">输入你的名字，让我们记住你。</small>
					</div>
				</div>

				<!-- 性别 -->
				<div class="am-form-group">
					<label class="am-u-sm-3 am-form-label">性别 / Sex</label>
					<div class="am-u-sm-9">
						<label class="am-radio-inline"> <input type="radio" name="sex" value="male" ng-model="admin.sex"> <small>我是男孩</small>
						</label> <label class="am-radio-inline"> <input type="radio" name="sex" value="female" ng-model="admin.sex"> <small>我是女孩</small>
						</label>
					</div>
				</div>

				<!-- 日历 -->
				<div class="am-form-group">
					<label for="admin-sex" class="am-u-sm-3 am-form-label">生日 / Birthday</label>
					<div class="am-u-sm-9">
						<div class="am-input-group am-datepicker-date">
							<input datepicker readonly id="birthday_input" type="text" class="am-form-field " placeholder="{{ birthday | date : 'yyyy-MM-dd'}}" ng-model="$parent.birthday">
							<!--   <span class="am-input-group-btn am-datepicker-add-on">
				    <button datepicker ng-model="$parent.date"   class="am-btn am-btn-default" type="button"><span class="am-icon-calendar"></span> </button>
				  </span> -->
						</div>
					</div>
				</div>


				<!-- 工作 -->
				<div class="am-form-group">
					<label for="admin-job" class="am-u-sm-3 am-form-label">工作 / Job</label>
					<div class="am-u-sm-9">
						<input type="text" id="admin-job" placeholder="输入你的工作描述 / Job" ng-model="admin.job"> <small>方便的话告诉我们您的工作好么？</small>
					</div>
				</div>

				<!-- 收入 -->
				<div class="am-form-group">
					<label for="admin-income" class="am-u-sm-3 am-form-label">收入 / Income</label>
					<div class="am-u-sm-9">
						<input type="text" id="admin-income" placeholder="请输入您的收入 / Income" ng-model="admin.income">
					</div>
				</div>

				<!-- 电话 -->
				<div class="am-form-group">
					<label for="admin-phone" class="am-u-sm-3 am-form-label">电话 / Telephone</label>
					<div class="am-u-sm-9">
						<input type="text" id="admin-phone" data-ng-disabled=true placeholder="电话号码 / Telephone" ng-model="admin.phone">
					</div>
				</div>

				<!-- 地址 -->
				<div class="am-form-group">
					<label for="admin-address" class="am-u-sm-3 am-form-label">地址 / Address</label>
					<div class="am-u-sm-9">
						<textarea class="text" rows="5" id="admin-address" placeholder="请输入地址" ng-model="admin.address"></textarea>
					</div>
				</div>

				<div class="am-form-group">
					<div class="am-u-sm-9 am-u-sm-push-3">
						<button type="button" class="am-btn am-btn-primary" ng-click="updateInfo(admin);">保存修改</button>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<!-- content end -->
